<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:ui="http://java.sun.com/jsf/facelets"
      xmlns:p="http://primefaces.org/ui"
      xmlns:h="http://java.sun.com/jsf/html"
      xmlns:f="http://java.sun.com/jsf/core">


    <ui:composition >
        <h:panelGrid columns="1" id="cabecera-bloq-der">
            <h:form>
                <p:commandButton title="Cambio de Rol" icon="ui-icon-refresh" 
                                 styleClass="botonCambioRol" value="Cambio de Rol"
                                 action="#{logOutControlador.modificacionRol()}"
                                 onclick="mostrarEspera();"
                                 oncomplete="ocultarEspera()"/>

                <p:commandButton action="#{logOutControlador.logout()}" title="Salir" icon="ui-icon-power" 
                                styleClass="botonSalir" value="Salir"/>

            </h:form>

        </h:panelGrid>

    </ui:composition>

</html>